import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import regcs from "@/regComponent/regcs";
import reglh from "@/regComponent/reglh";
import reglj from "@/regComponent/reglj";
import reglsy from "@/regComponent/reglsy";
import regxh from "@/regComponent/regxh";
import regmyp from "@/regComponent/regmyp";
import "vant/es/toast/style";
import { Toast } from "vant";
import { NavBar } from "vant";
import { Icon } from "vant";
import { ConfigProvider } from "vant";

let app = createApp(App);

regcs(app);
reglh(app);
reglj(app);
reglsy(app);
regxh(app);
regmyp(app);

app.use(NavBar);
app.use(ConfigProvider);
app.use(Icon);
app.use(router);
app.use(store);
app.use(Toast);
app.mount("#app");
